package com.qixin.part.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 企业用户表
 * </p>
 *
 * @author 薛向毅
 * @since 2018-09-29
 */
@TableName("pt_user")
public class PtUser extends Model<PtUser> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 账户
     */
	@TableField("user_name")
	private String userName;
    /**
     * 密码
     */
	@TableField("pass_word")
	private String passWord;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Long createTime;
    /**
     * 真实姓名
     */
	@TableField("true_name")
	private String trueName;
    /**
     * 该企业余额
     */
	private Integer moeny;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public String getTrueName() {
		return trueName;
	}

	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}

	public Integer getMoeny() {
		return moeny;
	}

	public void setMoeny(Integer moeny) {
		this.moeny = moeny;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "PtUser{" +
			"id=" + id +
			", userName=" + userName +
			", passWord=" + passWord +
			", createTime=" + createTime +
			", trueName=" + trueName +
			", moeny=" + moeny +
			"}";
	}
}
